import $axios from '@/utils/axios';

export function queryCategoryRecommend() {
  //return $axios.get('/category/recommend');
  const data ={"commodityType":2,"keyword":"","categoryCode":[],"pageNum":1,"pageSize":10}
  return $axios.post('/decorative/list', data);
}
export function queryCategoryList(code: string) {
  return $axios.get(`/category/list?categoryId=${code}`);
}
